package com.zbl.zblproject.erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbl.zblproject.erp.entity.ErpInventoryOrderItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author youlanqiang
 * @version 1.0
 * @date 2018/10/19
 */
@Repository
public interface ErpInventoryOrderItemMapper  extends BaseMapper<ErpInventoryOrderItem> {

    @Select("select * from zbl_inventory_orderitem where order_id=#{id}")
    List<ErpInventoryOrderItem> selectReturnMoney(@Param("id") int id);
}
